package com.niu.crm.dao.mapper;


import java.util.List;


import com.niu.crm.model.Exam;

public interface ExamMapper {
	
	Exam selectByPrimaryKey(Long id);
	
	Exam selectByName(String name);
	
	int insert(Exam exam);
	
	int update(Exam exam);
	
	int delete(Long id);
	
	List<Exam> selectAll();
	
	Integer selectMaxNo();
	
}
